//
//  XHRPictureDriftLayout.m
//  CollectionView实现无限分页
//
//  Created by 胥鸿儒 on 16/5/15.
//  Copyright © 2016年 xuhongru. All rights reserved.
//

#import "XHRPictureDriftLayout.h"

@interface XHRPictureDriftLayout()


@end

@implementation XHRPictureDriftLayout



- (void)prepareLayout
{
    [self initiateState];
}
- (void)initiateState
{
    self.itemSize = self.collectionView.frame.size;
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    self.minimumLineSpacing = 0.0;
    self.minimumInteritemSpacing = 0.0;
}



@end
